//index.js
//获取应用实例
const app = getApp()
let endGoods = require('../../common/data/car')
Page({
  data: {
      nav:['首页','最热','品牌故事'],
      current:0,
      endGoods:endGoods.slice(0,30),
      imgUrls: [
        {"img":'http://www.myzhuke.top/images/images/whk-index/702225939999697964_02.png',"seName":"陛下"},
        {"img":'http://www.myzhuke.top/images/images/whk-index/694253126245629076_02.png',"seName":"下午茶"},
        {"img":'http://www.myzhuke.top/images/images/whk-index/199948574587981477_02.png',"seName":"蔬"},
        {"img":'http://www.myzhuke.top/images/images/whk-index/877856011856426805_02.png',"seName":"坚果"}
      ],
      hot:[
          {img:"http://www.myzhuke.top/images/images/whk-index/903388117310429046_03.png",title:"每日坚果",type:"A款",box:"175g/盒",flag:"true",content:"成人喜欢的A款 7袋装 每日一袋 营业每一天",price:"29.80",
          "children":[{
            "bannerimg":[
              "http://www.myzhuke.top/images/detail/sxl/21/21-a.jpg",
              "http://www.myzhuke.top/images/detail/sxl/21/21-b.jpg",
              "http://www.myzhuke.top/images/detail/sxl/21/21-c.jpg"
            ],
            "img":[
              
              "http://www.myzhuke.top/images/detail/sxl/21/21-d.jpg",
              "http://www.myzhuke.top/images/detail/sxl/21/21-e.jpg",
              "http://www.myzhuke.top/images/detail/sxl/21/21-f.jpg",
              "http://www.myzhuke.top/images/detail/sxl/21/21-g.jpg",
              "http://www.myzhuke.top/images/detail/sxl/21/21-h.jpg",
              "http://www.myzhuke.top/images/detail/sxl/21/21-i.jpg",
              "http://www.myzhuke.top/images/detail/sxl/21/21-j.jpg",
              "http://www.myzhuke.top/images/detail/sxl/21/21-k.jpg",
              "http://www.myzhuke.top/images/detail/sxl/21/21-l.jpg",
              "http://www.myzhuke.top/images/detail/sxl/21/21-m.jpg",
              "http://www.myzhuke.top/images/detail/sxl/21/21-n.jpg",
              "http://www.myzhuke.top/images/detail/sxl/21/21-o.jpg",
              "http://www.myzhuke.top/images/detail/sxl/21/21-p.jpg",
              "http://www.myzhuke.top/images/detail/sxl/21/21-q.jpg",
              "http://www.myzhuke.top/images/detail/sxl/21/21-r.jpg"
            ],
              "title":"每日坚果 (A版) 175g/盒",
              "content":"成人喜欢的A款 7袋装 每日一袋 营养每一天",
              "price":"29.80",
              "batching":"",
              "store":"请置于常温、通风、干燥",
              "quality":"180",
              "foodAddlitives":"",
              "address":"",
              "weight":"175",
              "productName":"",
              "brand":"嘀嗒猫"
          }]
          },
          {img:"http://www.myzhuke.top/images/images/whk-index/745403678376351544_03.png",title:"每日坚果",type:"B版",box:"175g/盒",flag:"true",content:"儿童喜欢的B款 星期装 多样滋味 多样生活",price:"29.80",
          "children":[{
            "bannerimg":[
              "http://www.myzhuke.top/images/detail/sxl/20/20-a.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-b.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-c.jpg"
            ],
            "img":[
              
              "http://www.myzhuke.top/images/detail/sxl/20/20-d.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-e.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-f.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-g.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-h.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-i.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-j.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-k.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-l.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-m.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-n.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-o.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-p.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-q.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-r.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-s.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-t.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-u.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-v.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-w.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-x.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-y.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-z.jpg",
              "http://www.myzhuke.top/images/detail/sxl/20/20-aa.jpg"
            ],
              "title":"每日坚果 (B版) 175g/盒 包邮",
              "content":"儿童喜欢的B款 星期装 多样滋味 多样生活",
              "price":"29.80",
              "batching":"",
              "store":"请置于常温、通风、干燥",
              "quality":"180",
              "foodAddlitives":"",
              "address":"",
              "weight":"175",
              "productName":"",
              "brand":"嘀嗒猫"
          }]
          },
          {img:"http://www.myzhuke.top/images/images/whk-index/771687857256420839_03.png",title:"嘀嗒猫",type:"",box:"芒果干100g/袋",flag:"flase",content:"香甜好滋味 等你来品味",price:"9.90",
          "children":
          [
            {
              "bannerimg":[
                "http://www.myzhuke.top/images/detail/yangkai/42/42-a.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/42/42-b.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/42/42-c.jpg",            
                
                
              ],
              "img":[
                "http://www.myzhuke.top/images/detail/yangkai/42/42-d.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/42/42-e.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/42/42-f.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/42/42-g.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/42/42-h.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/42/42-i.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/42/42-j.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/42/42-k.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/42/42-l.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/42/42-m.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/42/42-n.jpg"                
              ],
              "title":"嘀嗒猫 芒果干100g/袋",//点进去黑体字
              "content":"香甜好滋味 等你来品味", //价格下面那个
              "price":"¥9.90",//价格
              "batching":"",//配料表
              "store":"请置于常温、通风、干燥",//储存方法
              "quality":"365",//保质期
              "foodAddlitives":"",//食品添加剂
              "address":"",//生产地
              "weight":"100", //净含量
              "brand":"嘀嗒猫",//品牌
              "productName":""//商标名称
            }
          ]
          },
          {img:"http://www.myzhuke.top/images/images/whk-index/186245585520342376_03.png",title:"榴莲干",type:"",box:"30g/袋",flag:"flase",content:"吃榴莲嫌麻烦？吃嘀嗒猫榴莲干啊",price:"11.90",
          "children":
          [
            {
              "bannerimg":[
                "http://www.myzhuke.top/images/detail/yangkai/45/45-a.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/45/45-b.jpg",
                
                
              ],
              "img":[
                "http://www.myzhuke.top/images/detail/yangkai/45/45-c.jpg",            
                "http://www.myzhuke.top/images/detail/yangkai/45/45-d.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/45/45-e.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/45/45-f.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/45/45-g.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/45/45-h.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/45/45-i.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/45/45-j.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/45/45-k.jpg"
              ],
              "title":"榴莲干 30g/袋",//点进去黑体字
              "content":"吃榴莲嫌麻烦？吃嘀嗒猫榴莲干啊", //价格下面那个
              "price":"¥11.90",//价格
              "batching":"",//配料表
              "store":"置于阴凉、干燥处",//储存方法
              "quality":"540",//保质期
              "foodAddlitives":"",//食品添加剂
              "address":"",//生产地
              "weight":"30", //净含量
              "brand":"嘀嗒猫",//品牌
              "productName":""//商标名称
            }
          ]
          },
          {img:"http://www.myzhuke.top/images/images/whk-index/122346640525600642_03.png",title:"综合蔬菜干",type:"",box:"110g/袋",flag:"flase",content:"好吃又好看,香甜美味！",price:"12.90",
          "children":
          [
            {
              "bannerimg":[
                "http://www.myzhuke.top/images/detail/yangkai/43/43-a.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/43/43-b.jpg",
                
                
              ],
              "img":[
                "http://www.myzhuke.top/images/detail/yangkai/43/43-c.jpg",            
                "http://www.myzhuke.top/images/detail/yangkai/43/43-d.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/43/43-e.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/43/43-f.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/43/43-g.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/43/43-h.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/43/43-i.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/43/43-j.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/43/43-k.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/43/43-l.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/43/43-m.jpg",
                "http://www.myzhuke.top/images/detail/yangkai/43/43-n.jpg",
                
                
                
                
              ],
              "title":"综合蔬菜干 110g/袋",//点进去黑体字
              "content":"好吃又好看，香脆美味！", //价格下面那个
              "price":"¥12.90",//价格
              "batching":"",//配料表
              "store":"置于阴凉干燥处，避免阳光",//储存方法
              "quality":"270",//保质期
              "foodAddlitives":"",//食品添加剂
              "address":"",//生产地
              "weight":"110", //净含量
              "brand":"嘀嗒猫",//品牌
              "productName":""//商标名称
            }
          ]
          },
      ],
      goods:[
          {name:"driedFruit",tagName:"缤纷果干",img:"http://www.myzhuke.top/images/images/whk-index/122346640525600642_03_03.png",goods_chi:[
            {imgN:"http://www.myzhuke.top/images/images/whk-index/725401672342465737_03.png",title:"榴莲干  30g/袋",price:"11.90",
            "children":
            [
              {
                "bannerimg":[
                  "http://www.myzhuke.top/images/detail/yangkai/45/45-a.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/45/45-b.jpg",
                  
                  
                ],
                "img":[
                  "http://www.myzhuke.top/images/detail/yangkai/45/45-c.jpg",            
                  "http://www.myzhuke.top/images/detail/yangkai/45/45-d.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/45/45-e.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/45/45-f.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/45/45-g.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/45/45-h.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/45/45-i.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/45/45-j.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/45/45-k.jpg",
            
                  
                  
                  
                  
                ],
                "title":"榴莲干 30g/袋",//点进去黑体字
                "content":"吃榴莲嫌麻烦？吃嘀嗒猫榴莲干啊", //价格下面那个
                "price":"¥11.90",//价格
                "batching":"",//配料表
                "store":"置于阴凉、干燥处",//储存方法
                "quality":"540",//保质期
                "foodAddlitives":"",//食品添加剂
                "address":"",//生产地
                "weight":"30", //净含量
                "brand":"嘀嗒猫",//品牌
                "productName":""//商标名称
              }
            ]
            },
            {imgN:"http://www.myzhuke.top/images/images/whk-index/725401672342465737_05.png",title:"综合蔬菜干  110g/袋",price:"12.90",
            "children":
            [
              {
                "bannerimg":[
                  "http://www.myzhuke.top/images/detail/yangkai/43/43-a.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/43/43-b.jpg",
                  
                  
                ],
                "img":[
                  "http://www.myzhuke.top/images/detail/yangkai/43/43-c.jpg",            
                  "http://www.myzhuke.top/images/detail/yangkai/43/43-d.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/43/43-e.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/43/43-f.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/43/43-g.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/43/43-h.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/43/43-i.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/43/43-j.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/43/43-k.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/43/43-l.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/43/43-m.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/43/43-n.jpg",
                  
                  
                  
                  
                ],
                "title":"综合蔬菜干 110g/袋",//点进去黑体字
                "content":"好吃又好看，香脆美味！", //价格下面那个
                "price":"¥12.90",//价格
                "batching":"",//配料表
                "store":"置于阴凉干燥处，避免阳光",//储存方法
                "quality":"270",//保质期
                "foodAddlitives":"",//食品添加剂
                "address":"",//生产地
                "weight":"110", //净含量
                "brand":"嘀嗒猫",//品牌
                "productName":""//商标名称
              }
            ]
            },
            {imgN:"http://www.myzhuke.top/images/images/whk-index/864047161864408624_03.png",title:"嘀嗒猫 芒果干100g/袋",price:"9.90",
            "children":
            [
              {
                "bannerimg":[
                  "http://www.myzhuke.top/images/detail/yangkai/42/42-a.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/42/42-b.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/42/42-c.jpg",            
                  
                  
                ],
                "img":[
                  "http://www.myzhuke.top/images/detail/yangkai/42/42-d.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/42/42-e.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/42/42-f.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/42/42-g.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/42/42-h.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/42/42-i.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/42/42-j.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/42/42-k.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/42/42-l.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/42/42-m.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/42/42-n.jpg",
                  
            
                  
                  
                  
                  
                ],
                "title":"嘀嗒猫 芒果干100g/袋",//点进去黑体字
                "content":"香甜好滋味 等你来品味", //价格下面那个
                "price":"¥9.90",//价格
                "batching":"",//配料表
                "store":"请置于常温、通风、干燥",//储存方法
                "quality":"365",//保质期
                "foodAddlitives":"",//食品添加剂
                "address":"",//生产地
                "weight":"100", //净含量
                "brand":"嘀嗒猫",//品牌
                "productName":""//商标名称
              }
            ]
            },
            {imgN:"http://www.myzhuke.top/images/images/whk-index/864047161864408624_05.png",title:"草莓干100g/袋",price:"9.90",
            "children":
            [
              {
                "bannerimg":[
                  "http://www.myzhuke.top/images/detail/yangkai/41/41-a.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/41/41-b.jpg",
                  
                  
                ],
                "img":[
                  "http://www.myzhuke.top/images/detail/yangkai/41/41-c.jpg",            
                  "http://www.myzhuke.top/images/detail/yangkai/41/41-d.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/41/41-e.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/41/41-f.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/41/41-g.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/41/41-h.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/41/41-i.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/41/41-j.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/41/41-k.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/41/41-l.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/41/41-m.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/41/41-n.jpg",
                  
                  
                  
                  
                ],
                "title":"草莓干 100g/袋",//点进去黑体字
                "content":"甜蜜在心 Q弹在口", //价格下面那个
                "price":"¥9.90",//价格
                "batching":"",//配料表
                "store":"请置于阴凉干燥处，避免阳光",//储存方法
                "quality":"365",//保质期
                "foodAddlitives":"",//食品添加剂
                "address":"",//生产地
                "weight":"100", //净含量
                "brand":"嘀嗒猫",//品牌
                "productName":""//商标名称
              }
            ]
            },
            {imgN:"http://www.myzhuke.top/images/images/whk-index/677171387754692407_03.png",title:"龙眼干 80g/袋",price:"10.90",
            "children":
            [
              {
                "bannerimg":[
                  "http://www.myzhuke.top/images/detail/yangkai/36/36-a.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/36/36-b.jpg",
                  
                  
                ],
                "img":[
                  "http://www.myzhuke.top/images/detail/yangkai/36/36-c.jpg",            
                  "http://www.myzhuke.top/images/detail/yangkai/36/36-d.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/36/36-e.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/36/36-f.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/36/36-g.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/36/36-h.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/36/36-i.jpg",
                  "http://www.myzhuke.top/images/detail/yangkai/36/36-j.jpg",
                  
                  
                  
                ],
                "title":"龙眼干 80g/袋",//点进去黑体字
                "content":"核小 肉厚 满口龙眼肉", //价格下面那个
                "price":"¥10.90",//价格
                "batching":"",//配料表
                "store":"请置于阴凉干燥处",//储存方法
                "quality":"365",//保质期
                "foodAddlitives":"",//食品添加剂
                "address":"",//生产地
                "weight":"80", //净含量
                "brand":"嘀嗒猫",//品牌
                "productName":""//商标名称
              }
            ]
            },
          ]},
          {name:"jianguo",tagName:"坚果炒货",img:"http://www.myzhuke.top/images/images/whk-index/864211365609522333_03.png",goods_chi:[
            {imgN:"http://www.myzhuke.top/images/images/whk-index/864211365609522333_06.png",title:"每日坚果 (A款) 170g/袋",price:"29.80",
            "children":[{
              "bannerimg":[
                "http://www.myzhuke.top/images/detail/sxl/21/21-a.jpg",
                "http://www.myzhuke.top/images/detail/sxl/21/21-b.jpg",
                "http://www.myzhuke.top/images/detail/sxl/21/21-c.jpg"
              ],
              "img":[
                
                "http://www.myzhuke.top/images/detail/sxl/21/21-d.jpg",
                "http://www.myzhuke.top/images/detail/sxl/21/21-e.jpg",
                "http://www.myzhuke.top/images/detail/sxl/21/21-f.jpg",
                "http://www.myzhuke.top/images/detail/sxl/21/21-g.jpg",
                "http://www.myzhuke.top/images/detail/sxl/21/21-h.jpg",
                "http://www.myzhuke.top/images/detail/sxl/21/21-i.jpg",
                "http://www.myzhuke.top/images/detail/sxl/21/21-j.jpg",
                "http://www.myzhuke.top/images/detail/sxl/21/21-k.jpg",
                "http://www.myzhuke.top/images/detail/sxl/21/21-l.jpg",
                "http://www.myzhuke.top/images/detail/sxl/21/21-m.jpg",
                "http://www.myzhuke.top/images/detail/sxl/21/21-n.jpg",
                "http://www.myzhuke.top/images/detail/sxl/21/21-o.jpg",
                "http://www.myzhuke.top/images/detail/sxl/21/21-p.jpg",
                "http://www.myzhuke.top/images/detail/sxl/21/21-q.jpg",
                "http://www.myzhuke.top/images/detail/sxl/21/21-r.jpg"
              ],
                "title":"每日坚果 (A版) 25g/袋",
                "content":"干果单包,一天营养好搭配",
                "price":"4.90",
                "batching":"",
                "store":"请置于常温、通风、干燥",
                "quality":"180",
                "foodAddlitives":"",
                "address":"",
                "weight":"25",
                "productName":"",
                "brand":"嘀嗒猫"
            }]
            },
            {imgN:"http://www.myzhuke.top/images/images/whk-index/864211365609522333_08.png",title:"每日坚果 (B款) 175g/袋",price:"29.80",
            "children":[{
              "bannerimg":[
                "http://www.myzhuke.top/images/detail/sxl/20/20-a.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-b.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-c.jpg"
              ],
              "img":[
                
                "http://www.myzhuke.top/images/detail/sxl/20/20-d.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-e.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-f.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-g.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-h.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-i.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-j.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-k.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-l.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-m.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-n.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-o.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-p.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-q.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-r.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-s.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-t.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-u.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-v.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-w.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-x.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-y.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-z.jpg",
                "http://www.myzhuke.top/images/detail/sxl/20/20-aa.jpg"
              ],
                "title":"每日坚果 (B版) 175g/盒 包邮",
                "content":"儿童喜欢的B款 星期装 多样滋味 多样生活",
                "price":"29.80",
                "batching":"",
                "store":"请置于常温、通风、干燥",
                "quality":"180",
                "foodAddlitives":"",
                "address":"",
                "weight":"175",
                "productName":"",
                "brand":"嘀嗒猫"
            }]
            },
            {imgN:"http://www.myzhuke.top/images/images/whk-index/726530231603271953_03.png",title:"香蕉片 150g/袋",price:"6.90",
            "children":[{
              "bannerimg":[
                "http://www.myzhuke.top/images/detail/sxl/19/19-a.jpg",
                "http://www.myzhuke.top/images/detail/sxl/19/19-b.jpg",
                "http://www.myzhuke.top/images/detail/sxl/19/19-c.jpg"
              ],
              "img":[
                
                "http://www.myzhuke.top/images/detail/sxl/19/19-d.jpg",
                "http://www.myzhuke.top/images/detail/sxl/19/19-e.jpg",
                "http://www.myzhuke.top/images/detail/sxl/19/19-f.jpg",
                "http://www.myzhuke.top/images/detail/sxl/19/19-g.jpg",
                "http://www.myzhuke.top/images/detail/sxl/19/19-h.jpg",
                "http://www.myzhuke.top/images/detail/sxl/19/19-i.jpg",
                "http://www.myzhuke.top/images/detail/sxl/19/19-j.jpg",
                "http://www.myzhuke.top/images/detail/sxl/19/19-k.jpg",
                "http://www.myzhuke.top/images/detail/sxl/19/19-l.jpg",
                "http://www.myzhuke.top/images/detail/sxl/19/19-m.jpg"
              ],
                "title":"香蕉片 150g/袋",
                "content":"脆脆香香 有滋有味",
                "price":"6.90",
                "batching":"",
                "store":"请置于阴凉干燥处,常温保存",
                "quality":"270",
                "foodAddlitives":"",
                "address":"",
                "weight":"150",
                "productName":"",
                "brand":"嘀嗒猫"
            }]
            },
            {imgN:"http://www.myzhuke.top/images/images/whk-index/726530231603271953_05.png",title:"黑米锅巴 (原味) 70g/袋",price:"4.90",
            "children":[{
              "bannerimg":[
                "http://www.myzhuke.top/images/detail/sxl/18/18-a.jpg",
                "http://www.myzhuke.top/images/detail/sxl/18/18-b.jpg"
              ],
              "img":[
                "http://www.myzhuke.top/images/detail/sxl/18/18-c.jpg",
                "http://www.myzhuke.top/images/detail/sxl/18/18-d.jpg",
                "http://www.myzhuke.top/images/detail/sxl/18/18-e.jpg",
                "http://www.myzhuke.top/images/detail/sxl/18/18-f.jpg",
                "http://www.myzhuke.top/images/detail/sxl/18/18-g.jpg",
                "http://www.myzhuke.top/images/detail/sxl/18/18-h.jpg",
                "http://www.myzhuke.top/images/detail/sxl/18/18-i.jpg",
                "http://www.myzhuke.top/images/detail/sxl/18/18-j.jpg",
                "http://www.myzhuke.top/images/detail/sxl/18/18-k.jpg",
                "http://www.myzhuke.top/images/detail/sxl/18/18-l.jpg"
              ],
                "title":"黑米锅巴 (原味) 70g/袋",
                "content":"别样黑米,香香脆脆一小片,对你爱爱爱不完",
                "price":"4.90",
                "batching":"",
                "store":"请置于阴凉干燥处,常温保存",
                "quality":"300",
                "foodAddlitives":"",
                "address":"",
                "weight":"70",
                "productName":"",
                "brand":"嘀嗒猫"
            }]
            },  
            {imgN:"http://www.myzhuke.top/images/images/whk-index/898723482174331607_03.png",title:"甘栗仁 80g/袋",price:"5.90",
            "children":[{
              "bannerimg":[
                "http://www.myzhuke.top/images/detail/sxl/24/24-a.jpg",
                "http://www.myzhuke.top/images/detail/sxl/24/24-b.jpg"
              ],
              "img":[
                "http://www.myzhuke.top/images/detail/sxl/24/24-c.jpg",
                "http://www.myzhuke.top/images/detail/sxl/24/24-d.jpg",
                "http://www.myzhuke.top/images/detail/sxl/24/24-e.jpg",
                "http://www.myzhuke.top/images/detail/sxl/24/24-f.jpg",
                "http://www.myzhuke.top/images/detail/sxl/24/24-g.jpg",
                "http://www.myzhuke.top/images/detail/sxl/24/24-h.jpg"
              ],
                "title":"甘栗仁 80g/袋",
                "content":"甘栗仁个大饱满,一口一个满口清香甘甜",
                "price":"5.90",
                "batching":"",
                "store":"置于阴凉干燥处,常温保存",
                "quality":"365",
                "foodAddlitives":"",
                "address":"",
                "weight":"80",
                "productName":"",
                "brand":"嘀嗒猫"
            }]
            }
          ]},
          {name:"cake",tagName:"糖果糕点",img:"http://www.myzhuke.top/images/images/whk-index/514817260935007951_03.png",goods_chi:[
            {imgN:"http://www.myzhuke.top/images/images/whk-index/514817260935007951_06.png",title:"嘀嗒猫 肉松饼228g/袋",price:"9.90",
            "children":
            [
              {
                "bannerimg":[
                  "http://www.myzhuke.top/images/detail/ZhangYi/9/9-a.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/9/9-b.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/9/9-c.jpg",                  
                ],
                "img":[            
                  "http://www.myzhuke.top/images/detail/ZhangYi/9/9-d.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/9/9-e.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/9/9-f.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/9/9-g.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/9/9-h.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/9/9-i.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/9/9-j.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/9/9-k.jpg"
                ],
                "title":"嘀嗒猫 肉松饼228g/袋",//点进去黑体字
                "content":"黄金肉松饼 真材实料 皮薄馅多", //价格下面那个
                "price":"¥9.90",//价格
                "batching":"",//配料表
                "store":"请置于阴凉干燥处，常温保存",//储存方法
                "quality":"228",//保质期
                "foodAddlitives":"",//食品添加剂
                "address":"",//生产地
                "weight":"180", //净含量
                "brand":"嘀嗒猫",//品牌
                "productName":""//商标名称
              }
            ]
            },  
            {imgN:"http://www.myzhuke.top/images/images/whk-index/514817260935007951_08.png",title:"抹茶味麻薯 300g/袋",price:"11.90",
            "children":
            [
              {
                "bannerimg":[
                  "http://www.myzhuke.top/images/detail/ZhangYi/14/14-a.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/14/14-b.jpg",                  
                ],
                "img":[
                  "http://www.myzhuke.top/images/detail/ZhangYi/14/14-c.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/14/14-d.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/14/14-e.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/14/14-f.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/14/14-g.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/14/14-h.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/14/14-i.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/14/14-j.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/14/14-k.jpg"
                ],
                "title":"红豆味黄金椰丝麻薯 300g/袋",//点进去黑体字
                "content":"丝丝红豆请 尽在你我不言中", //价格下面那个
                "price":"¥11.90",//价格
                "batching":"",//配料表
                "store":"请置于常温、通风、干燥",//储存方法
                "quality":"120",//保质期
                "foodAddlitives":"",//食品添加剂
                "address":"",//生产地
                "weight":"300", //净含量
                "brand":"嘀嗒猫",//品牌
                "productName":""//商标名称
              }
            ]
          },  
            
            {imgN:"http://www.myzhuke.top/images/images/whk-index/49066958260360504_03.png",title:"法式黄油蛋糕 200g/盒",price:"11.90",
            "children":
            [
              {
                "bannerimg":[
                  "http://www.myzhuke.top/images/detail/ZhangYi/8/8-a.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/8/8-b.jpg",                  
                ],
                "img":[
                  "http://www.myzhuke.top/images/detail/ZhangYi/8/8-c.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/8/8-d.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/8/8-e.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/8/8-f.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/8/8-g.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/8/8-h.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/8/8-i.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/8/8-j.jpg"
                ],
                "title":"法师黄油蛋糕 200g/盒",//点进去黑体字
                "content":"优质黄油和阳光小麦粉搭档,配合入鸡蛋,松软好味道", //价格下面那个
                "price":"¥11.90",//价格
                "batching":"",//配料表
                "store":"常温，阴凉，透风，干燥",//储存方法
                "quality":"180",//保质期
                "foodAddlitives":"",//食品添加剂
                "address":"",//生产地
                "weight":"200", //净含量
                "brand":"嘀嗒猫",//品牌
                "productName":""//商标名称
              }
            ]
            },
            {imgN:"http://www.myzhuke.top/images/images/whk-index/49066958260360504_05.png",title:"黑芝麻味 300g/袋",price:"11.90",
            "children":
            [
              {
                "bannerimg":[
                  "http://www.myzhuke.top/images/detail/ZhangYi/14/14-a.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/14/14-b.jpg",                  
                ],
                "img":[
                  "http://www.myzhuke.top/images/detail/ZhangYi/14/14-c.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/14/14-d.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/14/14-e.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/14/14-f.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/14/14-g.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/14/14-h.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/14/14-i.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/14/14-j.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/14/14-k.jpg"
                ],
                "title":"黑芝麻味麻薯 300g/袋",//点进去黑体字
                "content":"芝麻喷香 吃不腻", //价格下面那个
                "price":"¥11.90",//价格
                "batching":"",//配料表
                "store":"请置于常温、通风、干燥",//储存方法
                "quality":"120",//保质期
                "foodAddlitives":"",//食品添加剂
                "address":"",//生产地
                "weight":"300", //净含量
                "brand":"嘀嗒猫",//品牌
                "productName":""//商标名称
              }
            ]
            },
            {imgN:"http://www.myzhuke.top/images/images/whk-index/344241973132709390_03.png",title:"蔓越莓西饼 200g/袋",price:"8.90",
            "children":
            [
              {
                "bannerimg":[
                  "http://www.myzhuke.top/images/detail/ZhangYi/12/12-a.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/12/12-b.jpg",                  
                ],
                "img":[
                  "http://www.myzhuke.top/images/detail/ZhangYi/12/12-c.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/12/12-d.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/12/12-e.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/12/12-f.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/12/12-g.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/12/12-h.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/12/12-i.jpg",
                  "http://www.myzhuke.top/images/detail/ZhangYi/12/12-j.jpg"
                ],
                "title":"蔓越莓西饼 200g/袋",//点进去黑体字
                "content":"蔓越莓肉与饼干的完美结合 口感更佳", //价格下面那个
                "price":"¥8.90",//价格
                "batching":"",//配料表
                "store":"请置于阴凉干燥处，常温保存",//储存方法
                "quality":"270",//保质期
                "foodAddlitives":"",//食品添加剂
                "address":"",//生产地
                "weight":"200", //净含量
                "brand":"嘀嗒猫",//品牌
                "productName":""//商标名称
              }
            ]
            }
          ]},
          {name:"pulp",tagName:"无肉不欢",img:"http://www.myzhuke.top/images/images/whk-index/620910606255382911_03.png",goods_chi:[
            {imgN:"http://www.myzhuke.top/images/images/whk-index/753392010999849760_03.png",title:"猪肉脯 (白芝麻味) 200g/袋",price:"21.90",
            "children":[
              {
                "bannerimg":[
                  "http://www.myzhuke.top/images/detail/whk/3/3-a_02.jpg",
                  "http://www.myzhuke.top/images/detail/whk/3/3-b_02.jpg",
                  "http://www.myzhuke.top/images/detail/whk/3/3-c_02.jpg"
                ],
                "img":[
                  "http://www.myzhuke.top/images/detail/whk/3/3-d.jpg",
                  "http://www.myzhuke.top/images/detail/whk/3/3-e.jpg",
                  "http://www.myzhuke.top/images/detail/whk/3/3-f.jpg",
                  "http://www.myzhuke.top/images/detail/whk/3/3-g.jpg",
                  "http://www.myzhuke.top/images/detail/whk/3/3-h.jpg",
                  "http://www.myzhuke.top/images/detail/whk/3/3-i.jpg",
                  "http://www.myzhuke.top/images/detail/whk/3/3-j.jpg",
                  "http://www.myzhuke.top/images/detail/whk/3/3-k.jpg"
                ],
                "title":"猪肉脯 (原味) 200g/袋",
                "weight":"200",
                "price":"21.90",
                "quality":"180",//保质期
                "batching":"",//配料表
                "store":"请置于阴凉干燥处",//储存
                "foodAddlitives":"",//食品添加剂
                "address":"",//产地
                "content":"猪肉脯 原味更有味 越嚼越香",//介绍
                "brand":"嘀嗒猫", //品牌
                "productName":"" //产品名称
              }
            ]
            },
            {imgN:"http://www.myzhuke.top/images/images/whk-index/620910606255382911_08.png",title:"牛肉干 (香辣味) 125g/袋",price:"18.90",
            "children":[
              {
              "bannerimg":[
              "http://www.myzhuke.top/images/detail/whk/8/8-a.jpg",
              "http://www.myzhuke.top/images/detail/whk/8/8-b.jpg"
              ],
              "img":[
              "http://www.myzhuke.top/images/detail/whk/8/8-e.jpg",
              "http://www.myzhuke.top/images/detail/whk/8/8-f.jpg",
              "http://www.myzhuke.top/images/detail/whk/8/8-g.jpg",
              "http://www.myzhuke.top/images/detail/whk/8/8-h.jpg",
              "http://www.myzhuke.top/images/detail/whk/8/8-i.jpg",
              "http://www.myzhuke.top/images/detail/whk/8/8-l.jpg"
              ],
              "title":"牛肉干 (香辣味) 125g/袋",
              "weight":"125",
              "price":"18.90",
              "quality":"300",//保质期
              "batching":"",//配料表
              "store":"请置于常温、通风、干燥",//储存
              "foodAddlitives":"",//食品添加剂
              "address":"",//产地
              "content":"点睛辣味，入肉三分",//介绍
              "brand":"嘀嗒猫", //品牌
              "productName":"" //产品名称
              }
              ]
            },
            {imgN:"http://www.myzhuke.top/images/images/whk-index/123467744498401362_03.png",title:"嘀嗒猫 迷你肠(原味)",price:"12.90",
            "children":[
              {
              "bannerimg":[
              "http://www.myzhuke.top/images/detail/whk/1/1-a.jpg",
              "http://www.myzhuke.top/images/detail/whk/1/1-b.jpg",
              "http://www.myzhuke.top/images/detail/whk/1/1-c.jpg"
              ],
              "img":[
              "http://www.myzhuke.top/images/detail/whk/1/1-e.jpg",
              "http://www.myzhuke.top/images/detail/whk/1/1-f.jpg",
              "http://www.myzhuke.top/images/detail/whk/1/1-g.jpg",
              "http://www.myzhuke.top/images/detail/whk/1/1-h.jpg",
              "http://www.myzhuke.top/images/detail/whk/1/1-i.jpg"
              ],
              "title":"嘀嗒猫 迷你肠 (辣味)",
              "weight":"130",
              "price":"19.90",
              "quality":"270",//保质期
              "batching":"",//配料表
              "store":"请置于常温、通风、干燥",//储存
              "foodAddlitives":"",//食品添加剂
              "address":"",//产地
              "content":"原味，辣味，即食迷你肠",//介绍
              "brand":"嘀嗒猫", //品牌
              "productName":"" //产品名称
              }
              ]
            },
            {imgN:"http://www.myzhuke.top/images/images/whk-index/123467744498401362_05.png",title:"碳烤猪肉条 (辣味) 125g/袋",price:"16.90",
            "children":[
              {
              "bannerimg":[
              "http://www.myzhuke.top/images/detail/whk/5/5-a.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-b.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-c.jpg"
              ],
              "img":[
              "http://www.myzhuke.top/images/detail/whk/5/5-d.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-e.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-f.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-g.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-h.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-i.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-j.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-k.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-l.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-m.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-n.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-o.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-p.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-q.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-r.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-s.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-t.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-u.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-v.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-w.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-x.jpg"
              ],
              "title":"炭烤猪肉条 (辣味) 118g/袋",
              "weight":"118",
              "price":"16.90",
              "quality":"270",//保质期
              "batching":"",//配料表
              "store":"请置于阴凉干燥处",//储存
              "foodAddlitives":"",//食品添加剂
              "address":"",//产地
              "content":"嚼劲十足 肉香口感好",//介绍
              "brand":"嘀嗒猫", //品牌
              "productName":"" //产品名称
              }
              ]
            },
            {imgN:"http://www.myzhuke.top/images/images/whk-index/753392010999849760_03.png",title:"猪肉脯 (原味) 200g/袋",price:"21.90",
            "children":[
              {
              "bannerimg":[
              "http://www.myzhuke.top/images/detail/whk/3/3-a_02.jpg",
              "http://www.myzhuke.top/images/detail/whk/3/3-b_02.jpg",
              "http://www.myzhuke.top/images/detail/whk/3/3-c_02.jpg"
              ],
              "img":[
              "http://www.myzhuke.top/images/detail/whk/3/3-d.jpg",
              "http://www.myzhuke.top/images/detail/whk/3/3-e.jpg",
              "http://www.myzhuke.top/images/detail/whk/3/3-f.jpg",
              "http://www.myzhuke.top/images/detail/whk/3/3-g.jpg",
              "http://www.myzhuke.top/images/detail/whk/3/3-h.jpg",
              "http://www.myzhuke.top/images/detail/whk/3/3-i.jpg",
              "http://www.myzhuke.top/images/detail/whk/3/3-j.jpg",
              "http://www.myzhuke.top/images/detail/whk/3/3-k.jpg"
              ],
              "title":"猪肉脯 (原味) 200g/袋",
              "weight":"200",
              "price":"21.90",
              "quality":"180",//保质期
              "batching":"",//配料表
              "store":"请置于阴凉干燥处",//储存
              "foodAddlitives":"",//食品添加剂
              "address":"",//产地
              "content":"猪肉脯 原味更有味 越嚼越香",//介绍
              "brand":"嘀嗒猫", //品牌
              "productName":"" //产品名称
              }
              ]
            },
            {imgN:"http://www.myzhuke.top/images/images/whk-index/753392010999849760_05.png",title:"炭烧猪肉条 (原味) 125g/袋",price:"16.90",
            "children":[
              {
              "bannerimg":[
              "http://www.myzhuke.top/images/detail/whk/5/5-a.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-b.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-c.jpg"
              ],
              "img":[
              "http://www.myzhuke.top/images/detail/whk/5/5-d.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-e.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-f.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-g.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-h.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-i.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-j.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-k.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-l.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-m.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-n.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-o.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-p.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-q.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-r.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-s.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-t.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-u.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-v.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-w.jpg",
              "http://www.myzhuke.top/images/detail/whk/5/5-x.jpg"
              ],
              "title":"炭烤猪肉条 (原味) 118g/袋",
              "weight":"118",
              "price":"16.90",
              "quality":"270",//保质期
              "batching":"",//配料表
              "store":"请置于阴凉干燥处",//储存
              "foodAddlitives":"",//食品添加剂
              "address":"",//产地
              "content":"嚼劲十足 肉香口感好",//介绍
              "brand":"嘀嗒猫", //品牌
              "productName":"" //产品名称
              }
              ]
            }
          ]}
      ],
      show:[
          {img:"http://www.myzhuke.top/images/yangkai_type/fruit/driedFruit19.jpg",box:"30/g袋",price:"11.90",goodsName:"榴莲干",title:"榴莲干 30/g袋",
          "children":
          [
          {
          "bannerimg":[
          "http://www.myzhuke.top/images/detail/yangkai/45/45-a.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/45/45-b.jpg",
          ],
          "img":[
          "http://www.myzhuke.top/images/detail/yangkai/45/45-c.jpg", 
          "http://www.myzhuke.top/images/detail/yangkai/45/45-d.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/45/45-e.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/45/45-f.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/45/45-g.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/45/45-h.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/45/45-i.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/45/45-j.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/45/45-k.jpg",
          ],
          "title":"榴莲干 30g/袋",//点进去黑体字
          "content":"吃榴莲嫌麻烦？吃嘀嗒猫榴莲干啊", //价格下面那个
          "price":"¥11.90",//价格
          "batching":"",//配料表
          "store":"置于阴凉、干燥处",//储存方法
          "quality":"540",//保质期
          "foodAddlitives":"",//食品添加剂
          "address":"",//生产地
          "weight":"30", //净含量
          "brand":"嘀嗒猫",//品牌
          "productName":""//商标名称
          }
          ]
          },
          {img:"http://www.myzhuke.top/images/yangkai_type/fruit/driedFruit28.jpg",box:"80/g盒 包",price:"35.90",goodsName:"榴莲干伴手礼盒",title:"榴莲干伴手礼盒 80/g盒 包",
          "children": 
          [
          {
          "bannerimg":[
          "http://www.myzhuke.top/images/detail/yangkai/44/44-a.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/44/44-b.jpg",
          ],
          "img":[
          "http://www.myzhuke.top/images/detail/yangkai/44/44-c.jpg", 
          "http://www.myzhuke.top/images/detail/yangkai/44/44-d.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/44/44-e.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/44/44-f.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/44/44-g.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/44/44-h.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/44/44-i.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/44/44-j.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/44/44-k.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/44/44-l.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/44/44-m.jpg",
          ],
          "title":"榴莲干伴手礼盒 80g/盒 包邮",//点进去黑体字
          "content":"送给“臭”味相投的你！, //价格下面那个",
          "price":"¥35.90",//价格
          "batching":"",//配料表
          "store":"置于阴凉干燥处",//储存方法
          "quality":"365",//保质期
          "foodAddlitives":"",//食品添加剂
          "address":"",//生产地
          "weight":"80", //净含量
          "brand":"嘀嗒猫",//品牌
          "productName":""//商标名称
          }
          ]
          },
          {img:"http://www.myzhuke.top/images/images/whk-index/725401672342465737_05.png",box:"110/g袋",price:"5.90",goodsName:"综合蔬菜干",title:"综合蔬菜干 110/g袋",
          "children":
          [
          {
          "bannerimg":[
          "http://www.myzhuke.top/images/detail/yangkai/43/43-a.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/43/43-b.jpg",
          ],
          "img":[
          "http://www.myzhuke.top/images/detail/yangkai/43/43-c.jpg", 
          "http://www.myzhuke.top/images/detail/yangkai/43/43-d.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/43/43-e.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/43/43-f.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/43/43-g.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/43/43-h.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/43/43-i.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/43/43-j.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/43/43-k.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/43/43-l.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/43/43-m.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/43/43-n.jpg",
          ],
          "title":"综合蔬菜干 110g/袋",//点进去黑体字
          "content":"好吃又好看，香脆美味！", //价格下面那个
          "price":"¥12.90",//价格
          "batching":"",//配料表
          "store":"置于阴凉干燥处，避免阳光",//储存方法
          "quality":"270",//保质期
          "foodAddlitives":"",//食品添加剂
          "address":"",//生产地
          "weight":"110", //净含量
          "brand":"嘀嗒猫",//品牌
          "productName":""//商标名称
          }
          ]
          },
          {img:"http://www.myzhuke.top/images/images/whk-index/677171387754692407_03.png",box:"80/g袋",price:"11.90",goodsName:"甘栗仁",title:"甘栗仁 80/g袋",
          "children":[{
            "bannerimg":[
            "http://www.myzhuke.top/images/detail/sxl/24/24-a.jpg",
            "http://www.myzhuke.top/images/detail/sxl/24/24-b.jpg"
            ],
            "img":[
            "http://www.myzhuke.top/images/detail/sxl/24/24-c.jpg",
            "http://www.myzhuke.top/images/detail/sxl/24/24-d.jpg",
            "http://www.myzhuke.top/images/detail/sxl/24/24-e.jpg",
            "http://www.myzhuke.top/images/detail/sxl/24/24-f.jpg",
            "http://www.myzhuke.top/images/detail/sxl/24/24-g.jpg",
            "http://www.myzhuke.top/images/detail/sxl/24/24-h.jpg"
            ],
            "title":"甘栗仁 80g/袋",
            "content":"甘栗仁个大饱满,一口一个满口清香甘甜",
            "price":"5.90",
            "batching":"",
            "store":"置于阴凉干燥处,常温保存",
            "quality":"365",
            "foodAddlitives":"",
            "address":"",
            "weight":"80",
            "productName":"",
            "brand":"嘀嗒猫"
            }]
          },
          {img:"http://www.myzhuke.top/images/images/whk-index/620910606255382911_06.png",box:"200/g",price:"21.90",goodsName:"猪肉脯 (白芝麻味)",title:"猪肉脯 (白芝麻味) 200/g",
          "children":[
            {
            "bannerimg":[
            "http://www.myzhuke.top/images/detail/whk/3/3-a_02.jpg",
            "http://www.myzhuke.top/images/detail/whk/3/3-b_02.jpg",
            "http://www.myzhuke.top/images/detail/whk/3/3-c_02.jpg"
            ],
            "img":[
            "http://www.myzhuke.top/images/detail/whk/3/3-d.jpg",
            "http://www.myzhuke.top/images/detail/whk/3/3-e.jpg",
            "http://www.myzhuke.top/images/detail/whk/3/3-f.jpg",
            "http://www.myzhuke.top/images/detail/whk/3/3-g.jpg",
            "http://www.myzhuke.top/images/detail/whk/3/3-h.jpg",
            "http://www.myzhuke.top/images/detail/whk/3/3-i.jpg",
            "http://www.myzhuke.top/images/detail/whk/3/3-j.jpg",
            "http://www.myzhuke.top/images/detail/whk/3/3-k.jpg"
            ],
            "title":"猪肉脯 (白芝麻) 200g/袋",
            "weight":"200",
            "price":"21.90",
            "quality":"180",//保质期
            "batching":"",//配料表
            "store":"请避免高温潮湿、直射日光",//储存
            "foodAddlitives":"",//食品添加剂
            "address":"",//产地
            "content":"香甜蜜汁，鲜嫩有嚼劲，芝麻香残留在齿间",//介绍
            "brand":"嘀嗒猫", //品牌
            "productName":"" //产品名称
            }
            ]
          },
          {img:"http://www.myzhuke.top/images/images/whk-index/864047161864408624_03.png",box:"100/g袋",price:"9.90",goodsName:"嘀嗒猫 芒果干",title:"嘀嗒猫 芒果干 100/g袋",
          "children":
          [
          {
          "bannerimg":[
          "http://www.myzhuke.top/images/detail/yangkai/42/42-a.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/42/42-b.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/42/42-c.jpg", 
          ],
          "img":[
          "http://www.myzhuke.top/images/detail/yangkai/42/42-d.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/42/42-e.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/42/42-f.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/42/42-g.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/42/42-h.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/42/42-i.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/42/42-j.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/42/42-k.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/42/42-l.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/42/42-m.jpg",
          "http://www.myzhuke.top/images/detail/yangkai/42/42-n.jpg",
          ],
          "title":"嘀嗒猫 芒果干100g/袋",//点进去黑体字
          "content":"香甜好滋味 等你来品味", //价格下面那个
          "price":"¥9.90",//价格
          "batching":"",//配料表
          "store":"请置于常温、通风、干燥",//储存方法
          "quality":"365",//保质期
          "foodAddlitives":"",//食品添加剂
          "address":"",//生产地
          "weight":"100", //净含量
          "brand":"嘀嗒猫",//品牌
          "productName":""//商标名称
          }
          ]
          }
      ],
      cheap:[
        {id:"1",img:"http://www.myzhuke.top/images/images/whk-index/4728104873497d797910bba5e772f9b.png",flag:"0"},
        {id:"2",img:"http://www.myzhuke.top/images/images/whk-index/385395692390052688_03.png",flag:"0"},
        {id:"3",img:"http://www.myzhuke.top/images/images/whk-index/385395692390052688_05.png",flag:"0"}
      ]
  },
  navBar(e){
      this.setData({
          current:e.currentTarget.dataset.index
      })
  },
  more(){
    // console.log(1)
  },
  se(e){
    // console.log(e.detail.value)
    wx.navigateTo({
      url:"../all-goods/all-goods?value="+e.detail.value
    })
  },
  imgSe(e){
    // console.log(e.currentTarget.dataset.sename)
    wx.navigateTo({
      url:"../all-goods/all-goods?value="+e.currentTarget.dataset.sename
    })
  },
  couponSe(e){
    for(let i=0;i<this.data.cheap.length;i++){
        if(e.currentTarget.dataset.id == this.data.cheap[i].id){
            this.data.cheap[i].flag = 1;
        }
    }
    this.setData({
      cheap:this.data.cheap
    })
    // console.log(e.currentTarget.dataset.flag)
    if(e.currentTarget.dataset.flag == 1){
      wx.showToast({
        title: '已领取过！',
        icon: 'loading',
        image:'/images/images/whk-index/images/yuan_03.png',
        duration: 1000
      })
    }else{
      wx.showToast({
        title: '领取成功',
        icon: 'success',
        duration: 1000
      })
    }
    
  },

  hotBind(e){
    let newItem = JSON.stringify(e.currentTarget.dataset.item)
    wx.navigateTo({
        url:"../detail/detail?item="+newItem
    })
  },
  goMoreDetail(e){
    let newItem = JSON.stringify(e.currentTarget.dataset.item)
    wx.navigateTo({
        url:"../detail/detail?item="+newItem
    })
  },
  goMore(){
    wx.navigateTo({
      url:"../all-goods/all-goods?value=1"
  })
  },

  onLoad: function (options) {
    wx.getLocation({
      type: 'wgs84',
      success: function(res) {
        var latitude = res.latitude
        var longitude = res.longitude
        var speed = res.speed
        var accuracy = res.accuracy
      }
    })
  },
})
